package cn.sciento.starter.social.core.configuration;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "stong.oauth.social")
public class SocialProperties {
  public static final String PREFIX = "stong.oauth.social";
  
  private String bindUrl = "/open-bind";
  
  private boolean attemptBind = true;
  
  private String processUrl = "/open";
  
  private boolean enableHttps = false;
  
  private Qq qq = new Qq();
  
  public static class Qq {
    private boolean getUnionId = false;
    
    public boolean isGetUnionId() {
      return this.getUnionId;
    }
    
    public void setGetUnionId(boolean getUnionId) {
      this.getUnionId = getUnionId;
    }
  }
  
  public String getBindUrl() {
    return this.bindUrl;
  }
  
  public void setBindUrl(String bindUrl) {
    this.bindUrl = bindUrl;
  }
  
  public boolean isAttemptBind() {
    return this.attemptBind;
  }
  
  public void setAttemptBind(boolean attemptBind) {
    this.attemptBind = attemptBind;
  }
  
  public String getProcessUrl() {
    return this.processUrl;
  }
  
  public void setProcessUrl(String processUrl) {
    this.processUrl = processUrl;
  }
  
  public boolean isEnableHttps() {
    return this.enableHttps;
  }
  
  public void setEnableHttps(boolean enableHttps) {
    this.enableHttps = enableHttps;
  }
  
  public Qq getQq() {
    return this.qq;
  }
  
  public void setQq(Qq qq) {
    this.qq = qq;
  }
}
